window.addEventListener('scroll', function() {
    var scrollHeight = window.scrollY;
    var logo = document.querySelector('.logo img');

    if (scrollHeight > 100) {
        logo.style.transform = 'scale(0.7)';
    } else {
        logo.style.transform = 'scale(1)';
    }
});
